<?php
class Xx_model extends CI_Model{
	 function xx_model()
	{   parent::__construct();
		$this->load->database();
	}
	
	function user_select($id){
		$this->db->where("id",$id);
		$this->db->select('*');
		$query=$this->db->det('jueduijihua');
		return $query=>result();
	}
	
}
?>